# -*- coding:utf-8 -*-

'''
PROJECT_NAME : websocket_schedule_with_flask
file    : config
author  : 1032162439@qq.com
date    : 2022-10-26 11:14
IDE     : PyCharm
'''


class BaseConfig(object):
    SECRET_KEY = 'aehruwqheiruqweitqweiotjweqoijgqwpoetweqp[p'
    SQLALCHEMY_DATABASE_URI = ''


class TestConfig(BaseConfig):
    SQLALCHEMY_DATABASE_URI = ''


class DevelopConfig(BaseConfig):
    SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:root@localhost:3306/workflow?charset=utf8'


class ProductConfig(BaseConfig):
    SQLALCHEMY_DATABASE_URI = ''


config_dict = {
    'default': DevelopConfig,
    'test': TestConfig,
    'dev': DevelopConfig,
    'pro': ProductConfig
}
